// import './style/index.css';
//
// let a = 10;
// let arr = [1, 2, 3, 4, 5];
// arr.push(6);
// let arr1 = arr.filter((item, index) => item % 2 === 0);
// const b = () => {
//   for (let i = 0;i<=arr1.length;i++) {
//     console.log(i);
//   }
// };
// b();

import Vue from 'vue';
import App from './App.vue'
import ElementUI from 'element-ui';
import router from '@/routes/index.js'
import './style/reset.css'

import '@/components'
import '@/directive';
import store from '@/store';
import './permission.js'

Vue.use(ElementUI);

import 'element-ui/lib/theme-chalk/index.css';

let vm = new Vue({
  el: '#app',
  // render: () => '<App></App>',
  template: '<App></App>',
  components: {App},
  router, store
});
window.$vm = vm;
